﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataAccess
{
    /// <summary>
    /// 商家信息基类
    /// </summary>
    public class MerchantInfoBase
    {
        [Key]
        public long id { get; set; }

        /// <summary>
        /// 编码
        /// </summary>
        public string? code { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string? name { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public string? address { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string? phone { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public string? contact { get; set; }

        /// <summary>
        /// 状态： true：正常，false：禁用
        /// </summary>
        public bool status { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime updatetime { get; set; }
    }
}
